#include<stdio.h>

#define ONE 0001
#define TOW 0002
#define FOUR 0004

void func(int i)
{
    if(i&ONE)
    {
        printf("number has ONE\n");
    }
    if(i&TOW)
    {
        printf("number has TOW\n");
    }
    if(i&FOUR)
    {
        printf("number has FOUR\n");
    }
}
int main()
{
    func(ONE);
    func(TOW);
    func(FOUR);
    func(ONE|TOW|FOUR);
    return 0;
}
